package com.book.warehouse.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.common.entity.QueryRequest;
import com.book.warehouse.entity.WarehouseHouse;

import java.util.List;

/**
 * @Author: 刘恬镯
 * @Description:  20174052
 */

public interface WarehouseHouseService extends IService<WarehouseHouse>{
    /**
     * @Description:查所有
     */
    List<WarehouseHouse> findWarehouseHouse(WarehouseHouse warehouseHouse);

    /**
     * @Description:分页
     */
    IPage<WarehouseHouse> pageWarehouseHouse(QueryRequest request, WarehouseHouse warehouseHouse);

    /**
     * @Description:新增
     */
    void addWarehouseHouse(WarehouseHouse warehouseHouse);

    /**
     * @Description:修改
     */
    void updateWarehouseHouse(WarehouseHouse warehouseHouse);

    /**
     * @Description:复选删除
     */
    void deleteWarehouseHouse(String[] warehouseHouse);
}
